class Question < ActiveRecord::Base
  belongs_to :user
  belongs_to :group
  belongs_to :category
  has_many :comments
  has_many :question_voters
  has_one :question_emailer

  validates_presence_of :message, :category
end
